package IMIC.DOTHEVINH.OOP.EXERCISES.LEVEL02.EXP2;

public class Controllers {
	private Models models;
	private OctagonEntity octagonEntity;
	
	public Controllers() {
		models = new Models();
		octagonEntity = new OctagonEntity();
	}
	public double CalculateArea(OctagonEntity octagonEntity) {
		return models.Area(octagonEntity);
		
	}
	public double CalculatePerimeter(OctagonEntity octagonEntity) {
		return models.Perimeter(octagonEntity);
		
	}

}
